<template>
	<web-view :src="url" v-if="url"></web-view>
</template>

<script>
export default {
  name: "webview",
  data() {
    return {
      url: ''
    }
  },
  onLoad(option) {
    this.url = decodeURIComponent(option.url)
  }
}
</script>